package cn.zjjd.wlproject.hhx.demo.mapper;

import cn.zjjd.wlproject.hhx.demo.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentMapper {

    List<Student> queryStudentList();

    Student queryStudentByNumber(int number);

    int addStudent(Student student);

    int updateStudent(Student student);

    int deleteStudent(int id);

}
